/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package readers;

import Errors.ErrorInformation;
import java.io.FileNotFoundException;
import java.io.FileReader;

/**
 *
 * @author Chris
 */
public abstract class Reader extends ErrorInformation {
    public static String readLocation = "C:\\Chris\\School\\SFU\\Semester 3\\Software Engineering\\Project\\Working_Folder\\source\\website\\compt_275_website\\build\\web\\data\\";

    public static boolean fileExists(String file) {
        try {
            FileReader fr = new FileReader(file);
            return true;
        }
        catch(FileNotFoundException nf) {
            return false;
        }
        catch(Exception ex){
            return false;
        }
    }
}
